package com.njupt.sellsec.dao;

import com.njupt.sellsec.domain.SellUser;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Service;

/**
 * @Author: XJL
 * @Description:
 * @Date: Create in 13:31 2018/7/28
 * @Modified By:
 **/
public interface SellUserDao {

    @Select("select * from sell_user where id=#{id}")
    SellUser getSellUserById(Long id);

    @Update("update sell_user set password=#{password} where id = #{id}")
    void updatePass(SellUser updateUser);
}
